﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/MasterPage2.master" AutoEventWireup="true" CodeFile="Admin_XemDanhSachDoiTac.aspx.cs" Inherits="ChucNang_Admin_Admin_XemDanhSachDoiTac" Title="Untitled Page" %>

<%@ Register src="../../UserControls/PageInterface.ascx" tagname="PageInterface" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center><h2>Danh Sách Đối Tác</h2></center>
   
   <div style="text-align:right; padding-right:100px;"> 
   <a href="Admin_LayServiceLoHang.aspx">Lấy Lô Hàng</a>  
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
            Text="Thêm đối tác" />
            <asp:Button ID="btnXoa" runat="server" Text="Xóa chọn" 
            onclick="btnXoa_Click" />
    </div>
     
     <center>
        <asp:DataList ID="DataList_DSDT" runat="server">       
        
            <ItemStyle BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" />
        
        
        <ItemTemplate>
            <asp:Label ID="lbMaDoiTac" Visible="false" runat="server" Text='<%#Eval("Id") %>'></asp:Label>
            <table>
                <tr>
                    <td class="datalist_hinhanh_nho">                        
                            <asp:Image ID="Image_hinhSP"  Height="80" Width="80" runat="server" ImageUrl='<%# Eval("Logo") %>' />                        
                    </td>
                    <td align="left" style="width:390px;">
                        
                        <asp:Label ID="lbTenDoiTac" runat="server" 
                            Text='<%# Eval("TenDoiTac") %>' Font-Bold="True" Font-Size="16" ForeColor="#CC0000"></asp:Label>
                        <br />
                        <table border="0" cellspacing="0" cellpadding="0" width="100%">
                            
                            
                            
                        	<tr>
                        		<td style="width:150px; vertical-align:top"> Tài khoản ngân hàng:</td>
                        		<td><asp:Label ID="lbMaTaiKhoan_NganHang" runat="server" 
                            Text='<%# Eval("MaTaiKhoan_NganHang") %>' Font-Bold="True"></asp:Label></td>
                        	</tr>
                        	<tr>
                        		<td style="width:150px; vertical-align:top">Mã thuế:</td>
                        		<td><asp:Label ID="lbMaThue" runat="server" Text='<%# Eval("MaThue") %>' Font-Bold="True"></asp:Label></td>
                        	</tr>
                        	<tr>
                        		<td style="width:150px; vertical-align:top">Địa chỉ:</td>
                        		<td><asp:Label ID="lbDiaChi" runat="server" Text='<%# Eval("DiaChi") %>' ></asp:Label></td>
                        	</tr>
                        	<tr>
                        		<td style="width:150px; vertical-align:top">Điện thoại:</td>
                        		<td><asp:Label ID="lbDienThoai" runat="server" 
                            Text='<%# Eval("DienThoai") %>'></asp:Label></td>                        		
                        	</tr>
                        	<tr>
                        		<td style="width:150px; vertical-align:top">Người đại diện:</td>
                        		<td><asp:Label ID="lbNguoiDaiDien" runat="server" 
                            Text='<%# Eval("NguoiDaiDien") %>' Font-Bold="True"></asp:Label></td>
                        	</tr>
                        	<tr>
                        		<td style="width:150px; vertical-align:top">WebSite:</td>
                        		<td><asp:HyperLink ID="hplWebsite" runat="server" 
                            NavigateUrl='<%# Eval("Website") %>' Text='<%# Eval("Website") %>'></asp:HyperLink></td>
                        	</tr>
                        </table>
                         
                       
                         
                    </td>
                    <td style="width:70px;">
                        <asp:HyperLink ID="hplCapNhat" runat="server" 
                        NavigateUrl='<%# Eval("Id","Admin_CapNhatDoiTacChiTiet.aspx?id={0}") %>'>Cập Nhật</asp:HyperLink>
                        <br />
                            <td><asp:HyperLink ID="hplLoHang" runat="server" NavigateUrl='<%# Eval("Id","~/ChucNang/Admin/Admin_XemLoHangDoiTac.aspx?Id={0}") %>' >Xem Lô Hàng</asp:HyperLink></td>
                    </td>
                    <td>
                        <asp:CheckBox ID="ckXoa" runat="server" />
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    
        <uc1:PageInterface ID="PageInterface1" runat="server" />
        <br />
     </center>

</asp:Content>

